package com.sjgtw.cloud.web.keysArea.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 防洪重点地段管理对象 t_eg_keys_areas
 * 
 * @author ruoyi
 * @date 2024-03-15
 */
public class KeysAreas extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 工区id */
    @ApiModelProperty("工区id")
    private Long workAreaId;
    @ExcelProperty(index = 13)
    private String workArea;

    /** 年度 */
    @ExcelProperty(index = 2)
    @ApiModelProperty("年度")
    private String year;

    /** 线别 */
    @ExcelProperty(index = 3)
    @ApiModelProperty("线别")
    private String lineType;

    /** 区间 */
    @ExcelProperty(index = 4)
    @ApiModelProperty("区间")
    private String interval;

    /** 里程 */
    @ExcelProperty(index = 5)
    @ApiModelProperty("里程")
    private String mileage;

    /** 行别 */
    @ExcelProperty(index = 6)
    @ApiModelProperty("行别")
    private String stream;

    /** 类型 */
    @ExcelProperty(index = 7)
    @ApiModelProperty("类型")
    private String type;

    /** 抢险料具 */
    @ExcelProperty(index = 9)
    @ApiModelProperty("抢险料具")
    private String tool;

    /** 抢险人数 */
    @ExcelProperty(index = 10)
    @ApiModelProperty("抢险人数")
    private String number;

    /** 制度 */
    @ExcelProperty(index = 11)
    @ApiModelProperty("制度")
    private String system;

    /** 方法 */
    @ExcelProperty(index = 12)
    @ApiModelProperty("方法")
    private String method;

    /** 责任人 */
    @ApiModelProperty("责任人")
    private String headId;
    @ExcelProperty(index = 14)
    private String head;

    /** 干部 */
    @ApiModelProperty("干部")
    private String cadreId;
    @ExcelProperty(index = 15)
    private String cadre;

    /** 级别 */
    @ExcelProperty(index = 16)
    @ApiModelProperty("级别")
    private String level;

    /** 级别 */
    @ExcelProperty(index = 1)
    @ApiModelProperty("分级")
    private String grade;

    /** 是否列入整治计划 0 否 1 是 */
    @ExcelProperty(index = 17)
    @ApiModelProperty("是否列入整治计划 0 否 1 是")
    private String isRepairPlan;

    /** 状态 */
    @ApiModelProperty("状态")
    private Integer status;

    /** 水害情况 */
    @ExcelProperty(index = 8)
    @ApiModelProperty("水害情况")
    private String situation;

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkAreaId(Long workAreaId) 
    {
        this.workAreaId = workAreaId;
    }

    public Long getWorkAreaId() 
    {
        return workAreaId;
    }

    public String getWorkArea() {
        return workArea;
    }

    public void setWorkArea(String workArea) {
        this.workArea = workArea;
    }

    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setLineType(String lineType) 
    {
        this.lineType = lineType;
    }

    public String getLineType() 
    {
        return lineType;
    }
    public void setInterval(String interval) 
    {
        this.interval = interval;
    }

    public String getInterval() 
    {
        return interval;
    }
    public void setMileage(String mileage) 
    {
        this.mileage = mileage;
    }

    public String getMileage() 
    {
        return mileage;
    }
    public void setStream(String stream) 
    {
        this.stream = stream;
    }

    public String getStream() 
    {
        return stream;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTool(String tool) 
    {
        this.tool = tool;
    }

    public String getTool() 
    {
        return tool;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setSystem(String system) 
    {
        this.system = system;
    }

    public String getSystem() 
    {
        return system;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }

    public String getHeadId() {
        return headId;
    }

    public void setHeadId(String headId) {
        this.headId = headId;
    }

    public String getCadreId() {
        return cadreId;
    }

    public void setCadreId(String cadreId) {
        this.cadreId = cadreId;
    }

    public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setIsRepairPlan(String isRepairPlan)
    {
        this.isRepairPlan = isRepairPlan;
    }

    public String getIsRepairPlan()
    {
        return isRepairPlan;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSituation(String situation) 
    {
        this.situation = situation;
    }

    public String getSituation() 
    {
        return situation;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getCadre() {
        return cadre;
    }

    public void setCadre(String cadre) {
        this.cadre = cadre;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workAreaId", getWorkAreaId())
            .append("year", getYear())
            .append("lineType", getLineType())
            .append("interval", getInterval())
            .append("mileage", getMileage())
            .append("stream", getStream())
            .append("type", getType())
            .append("tool", getTool())
            .append("number", getNumber())
            .append("system", getSystem())
            .append("method", getMethod())
            .append("headId", getHeadId())
            .append("cadreId", getCadreId())
            .append("level", getLevel())
            .append("isRepairPlan", getIsRepairPlan())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("situation", getSituation())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
